package work1.work6.sina;



import java.util.HashSet;
import java.util.Scanner;

public class SinaTest {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        HashSet set = new HashSet();
        Sina sina = new Sina();
        sina.setName("张三");
        while (true){
            System.out.println("现在开始注册");
            System.out.println("请输入你的用户名");
            String name=in.nextLine();
            sina.Checkame(name);


            System.out.println("请输入您的密码，并确认密码");
            String password=in.nextLine();
            String password1=in.nextLine();
            sina.Checkpassword(password,password1);



            System.out.println("请输入你的手机号");
            String phone=in.nextLine();
            sina.CheckPhone(phone);



            System.out.println("请输入你的邮箱");
            String email=in.nextLine();
            sina.Checkemail(email);


            sina.Checkzhuce();

            break;




        }


    }
}
